Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Description
This patch improves connectivity for the XDP networking stack.
Introduces the notion of a fallback TX path for high-performance network tiles such as the XDP tile.
This will become more useful in the future for net tile alternatives like ibeth or DPDK.
In the initial version of the fallback TX path, the XDP tile copies out packet data to the socket tile.
In future versions, this can be done zero-copy for improved performance.
This allows the XDP tile to drop loopback support via another XDP socket (which seems to be rather error-prone).
Performance for the loopback path will worsen but this is acceptable since loopback traffic is lower than 300k pps in prod (loopback socket throughput without offloads).
Finally, since the socket tile is now mandatory, RX connectivity generally improves:
The socket tile will handle all edge cases for packet RX that the high-performance stack failed to handle --
For example packets coming in from Wireguard or IPsec tunnels, or other hardware interfaces.
This PR depends on #5993